cc.Class({
  extends: cc.Component,
  properties: {},
  initBy: function (t) {
    this.cb = t;
  },
  onClickClose: function () {
    this.cb(false);
    cc.popupManager.removePopup(this);
  },
  onClickStart: function () {
    this.cb(true);
    cc.popupManager.removePopup(this);
  }
});